package org.nepu.scr.indexrate.vo.drillingrate.keydevice.rotationsystem;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.InputTerminalConverter;
import org.nepu.scr.indexrate.vo.drillingrate.keydevice.improvesystem.InputTerminal;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class RotationDevice {

    //通径mm
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "size")
    InputTerminal size;

    //顶驱型号
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "top_drive_model")
    InputTerminal topDriveModel;

    //设计井最大扭矩(kN∙m)
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "max_torque")
    InputTerminal maxTorque;

    //顶驱连续扭矩(kN∙m)
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "continuous_torque")
    InputTerminal continuousTorque;

    //最大扭矩(kN∙m)
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "max_torque_rate")
    InputTerminal maxTorqueRate;
}
